package chkui.springcore.example.hybrid.beanmanipulation.bean;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class Person {
	private String name;
	private int age;
	private boolean license;
	private Date birtday;
	private Address address;
	private Map<String, String> otherInfo;

	public Person() {
		otherInfo = new HashMap<String, String>();
	}

	public String getName() {
		return name;
	}

	public int getAge() {
		return age;
	}

	public boolean isLicense() {
		return license;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public void setLicense(boolean license) {
		this.license = license;
	}

	public Date getBirtday() {
		return birtday;
	}

	public void setBirtday(Date birtday) {
		this.birtday = birtday;
	}

	public Map<String, String> getOtherInfo() {
		return otherInfo;
	}

	public void setOtherInfo(Map<String, String> otherInfo) {
		this.otherInfo = otherInfo;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "Person [name=" + name + ", age=" + age + ", license=" + license + ", birtday=" + birtday + ", address="
				+ address + ", otherInfo=" + otherInfo + "]";
	}
}
